Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.GameMessageC2S_Translate = exports.GameMessageC2S_TextToSpeech = exports.GameMessageC2S_OnRecognize = exports.GameMessageC2S_OnRecordError = exports.GameMessageC2S_OnServerRecordStop = exports.GameMessageC2S_OnServerRecordStart = exports.GameMessageC2S_OnTouchRecordStop = exports.GameMessageC2S_OnTouchRecordStart = exports.GameMessageC2S_JoinRoom = exports.GameMessageC2S_CreateRoom = exports.GameMessageC2S_PING = exports.GameMessageC2S_TranslateResult = exports.GameMessageC2S_SpeechResult = exports.GameMessageC2S_C2S_PlayAudioCtx = exports.GameMessageType = exports.GameMessageS2C = exports.GameMessageC2S = exports.LangType = undefined;
var def_GameMessageBase = /* */babel_createClass(function o() {
  babel_classCallCheck(this, o);
  this.msgtype = s.PING;
  this.cmd = "";
});
var i;
var s;
exports.default = def_GameMessageBase;
(function (e) {
  e[e.zh_CN = 0] = "zh_CN";
  e[e.en_US = 1] = "en_US";
  e[e.zh_HK = 2] = "zh_HK";
})(i = exports.LangType || (exports.LangType = {}));
var exp_GameMessageC2S = /* */function (_o23) {
  function _ctor() {
    babel_classCallCheck(this, _ctor);
    return _callSuper(this, _ctor, arguments);
  }
  babel_inherits(_ctor, _o23);
  return babel_createClass(_ctor);
}(def_GameMessageBase);
exports.GameMessageC2S = exp_GameMessageC2S;
exports.GameMessageS2C = /* */function (_o24) {
  function _class3() {
    var _this23;
    babel_classCallCheck(this, _class3);
    _this23 = _callSuper(this, _class3, arguments);
    _this23.code = 0;
    return _this23;
  }
  babel_inherits(_class3, _o24);
  return babel_createClass(_class3);
}(def_GameMessageBase);
(function (e) {
  e[e.C2S_CreateRoom = 0] = "C2S_CreateRoom";
  e[e.C2S_JoinRoom = 1] = "C2S_JoinRoom";
  e[e.C2S_OnServerRecordStart = 2] = "C2S_OnServerRecordStart";
  e[e.C2S_OnServerRecordStop = 3] = "C2S_OnServerRecordStop";
  e[e.C2S_OnRecordError = 4] = "C2S_OnRecordError";
  e[e.C2S_OnRecognize = 5] = "C2S_OnRecognize";
  e[e.C2S_SpeechResult = 6] = "C2S_SpeechResult";
  e[e.C2S_TranslateResult = 7] = "C2S_TranslateResult";
  e[e.C2S_OnTouchRecordStart = 8] = "C2S_OnTouchRecordStart";
  e[e.C2S_OnTouchRecordStop = 9] = "C2S_OnTouchRecordStop";
  e[e.C2S_TextToSpeech = 10] = "C2S_TextToSpeech";
  e[e.C2S_Translate = 11] = "C2S_Translate";
  e[e.C2S_PlayAudioCtx = 12] = "C2S_PlayAudioCtx";
  e[e.PING = 13] = "PING";
})(s = exports.GameMessageType || (exports.GameMessageType = {}));
exports.GameMessageC2S_C2S_PlayAudioCtx = /* */function (_a) {
  function _class4(e) {
    var _this24;
    babel_classCallCheck(this, _class4);
    _this24 = _callSuper(this, _class4);
    _this24.filename = e;
    _this24.msgtype = s.C2S_PlayAudioCtx;
    return _this24;
  }
  babel_inherits(_class4, _a);
  return babel_createClass(_class4);
}(exp_GameMessageC2S);
exports.GameMessageC2S_SpeechResult = /* */function (_a2) {
  function _class5(e) {
    var _this25;
    babel_classCallCheck(this, _class5);
    _this25 = _callSuper(this, _class5);
    _this25.filename = e;
    _this25.msgtype = s.C2S_SpeechResult;
    return _this25;
  }
  babel_inherits(_class5, _a2);
  return babel_createClass(_class5);
}(exp_GameMessageC2S);
exports.GameMessageC2S_TranslateResult = /* */function (_a3) {
  function _class6(e, t) {
    var _this26;
    babel_classCallCheck(this, _class6);
    _this26 = _callSuper(this, _class6);
    _this26.text = e;
    _this26.lang = t;
    _this26.msgtype = s.C2S_TranslateResult;
    return _this26;
  }
  babel_inherits(_class6, _a3);
  return babel_createClass(_class6);
}(exp_GameMessageC2S);
exports.GameMessageC2S_PING = /* */function (_a4) {
  function _class7() {
    var _this27;
    babel_classCallCheck(this, _class7);
    _this27 = _callSuper(this, _class7);
    _this27.msgtype = s.PING;
    return _this27;
  }
  babel_inherits(_class7, _a4);
  return babel_createClass(_class7);
}(exp_GameMessageC2S);
exports.GameMessageC2S_CreateRoom = /* */function (_a5) {
  function _class8() {
    var _this28;
    babel_classCallCheck(this, _class8);
    _this28 = _callSuper(this, _class8);
    _this28.msgtype = s.C2S_CreateRoom;
    _this28.cmd = "createroom";
    return _this28;
  }
  babel_inherits(_class8, _a5);
  return babel_createClass(_class8);
}(exp_GameMessageC2S);
exports.GameMessageC2S_JoinRoom = /* */function (_a6) {
  function _class9(e) {
    var _this29;
    babel_classCallCheck(this, _class9);
    _this29 = _callSuper(this, _class9);
    _this29.roomid = e;
    _this29.msgtype = s.C2S_JoinRoom;
    _this29.cmd = "joinroom";
    return _this29;
  }
  babel_inherits(_class9, _a6);
  return babel_createClass(_class9);
}(exp_GameMessageC2S);
exports.GameMessageC2S_OnTouchRecordStart = /* */function (_a7) {
  function _class10() {
    var _this30;
    var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : i.zh_CN;
    babel_classCallCheck(this, _class10);
    _this30 = _callSuper(this, _class10);
    _this30.lang = e;
    _this30.msgtype = s.C2S_OnTouchRecordStart;
    return _this30;
  }
  babel_inherits(_class10, _a7);
  return babel_createClass(_class10);
}(exp_GameMessageC2S);
exports.GameMessageC2S_OnTouchRecordStop = /* */function (_a8) {
  function _class11() {
    var _this31;
    babel_classCallCheck(this, _class11);
    _this31 = _callSuper(this, _class11);
    _this31.msgtype = s.C2S_OnTouchRecordStop;
    return _this31;
  }
  babel_inherits(_class11, _a8);
  return babel_createClass(_class11);
}(exp_GameMessageC2S);
exports.GameMessageC2S_OnServerRecordStart = /* */function (_a9) {
  function _class12() {
    var _this32;
    babel_classCallCheck(this, _class12);
    _this32 = _callSuper(this, _class12);
    _this32.msgtype = s.C2S_OnServerRecordStart;
    return _this32;
  }
  babel_inherits(_class12, _a9);
  return babel_createClass(_class12);
}(exp_GameMessageC2S);
exports.GameMessageC2S_OnServerRecordStop = /* */function (_a10) {
  function _class13(e) {
    var _this33;
    babel_classCallCheck(this, _class13);
    _this33 = _callSuper(this, _class13);
    _this33.text = e;
    _this33.msgtype = s.C2S_OnServerRecordStop;
    return _this33;
  }
  babel_inherits(_class13, _a10);
  return babel_createClass(_class13);
}(exp_GameMessageC2S);
exports.GameMessageC2S_OnRecordError = /* */function (_a11) {
  function _class14(e) {
    var _this34;
    babel_classCallCheck(this, _class14);
    _this34 = _callSuper(this, _class14);
    _this34.retcode = e;
    _this34.msgtype = s.C2S_OnRecordError;
    return _this34;
  }
  babel_inherits(_class14, _a11);
  return babel_createClass(_class14);
}(exp_GameMessageC2S);
exports.GameMessageC2S_OnRecognize = /* */function (_a12) {
  function _class15(e) {
    var _this35;
    babel_classCallCheck(this, _class15);
    _this35 = _callSuper(this, _class15);
    _this35.text = e;
    _this35.msgtype = s.C2S_OnRecognize;
    return _this35;
  }
  babel_inherits(_class15, _a12);
  return babel_createClass(_class15);
}(exp_GameMessageC2S);
exports.GameMessageC2S_TextToSpeech = /* */function (_a13) {
  function _class16(e, t) {
    var _this36;
    babel_classCallCheck(this, _class16);
    _this36 = _callSuper(this, _class16);
    _this36.text = e;
    _this36.lang = t;
    _this36.msgtype = s.C2S_TextToSpeech;
    return _this36;
  }
  babel_inherits(_class16, _a13);
  return babel_createClass(_class16);
}(exp_GameMessageC2S);
exports.GameMessageC2S_Translate = /* */function (_a14) {
  function _class17(e, t, n) {
    var _this37;
    babel_classCallCheck(this, _class17);
    _this37 = _callSuper(this, _class17);
    _this37.text = e;
    _this37.self = t;
    _this37.to = n;
    _this37.msgtype = s.C2S_Translate;
    return _this37;
  }
  babel_inherits(_class17, _a14);
  return babel_createClass(_class17);
}(exp_GameMessageC2S);